package com.derek.omeshopping.ui.mine;/**
 * Created by ThinkPad on 2016/10/18.
 */

import com.derek.omeshopping.base.IModel;
import com.derek.omeshopping.base.IPresenter;
import com.derek.omeshopping.base.IView;

import rx.Subscriber;

/**
 * 作者：ThinkPad on 2016/10/18 19:33
 * 邮箱：212740182@qq.com
 */
public class RegistContract {
    public interface View extends IView{
        void registSuccess(String id);
        void registFailed(String msg);
    }
    public interface Model extends IModel{
        void addData(String name, String pwd, Subscriber<String> id);
    }
    public interface Presenter extends IPresenter{
        void getData(String name,String pwd);
    }
 }
